package cn.edu.sgu.www.mhxysy.entity.fabao;

import cn.edu.sgu.www.mhxysy.consts.IdentifierPrefixes;
import cn.edu.sgu.www.mhxysy.util.StringUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 法宝两仪属性
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("fbgl_fblysxb")
public class FabaoLiangyiAttribute implements Serializable {
    private static final long serialVersionUID = 18L;

    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 进阶次数
     */
    @ApiModelProperty(value = "进阶次数")
    private Integer step;

    /**
     * 法宝ID
     */
    @ApiModelProperty(value = "法宝ID")
    private String fabaoId;

    /**
     * 数值ID
     */
    @ApiModelProperty(value = "数值ID")
    private Integer valueId;

    /**
     * 两仪属性类型ID
     */
    @ApiModelProperty(value = "两仪属性类型ID")
    private Integer liangyiId;

    public String uuid() {
        return IdentifierPrefixes.PREFIX_FBLYSX + StringUtils.uuid();
    }

}